<?php 
require("require/doctype.php");

$geturl = explode('/',  $_SERVER['REQUEST_URI']);
if ($geturl[2] == 'p') {
    $page = $geturl[3];
}

switch ($page){
    case "home":
        $title = "Home";
    break;
    case "sobre":
        $title = "Sobre";
    break;
    case "faq":
        $title = "F.A.Q.";
    break;
    case "manual":
        $title = "Manual";
    break;
    case "contato":
        $title = "Contato";
    break;
    case "usercp":
        $title = "User CP";
    break;
    case "perfil":
        $title = "Perfil";
    break;
    default:
        $title = "Home";
    break;}
?>
		<title>PSM - Player Sheet Manager - <?php echo($title); ?></title>
	</head>
	<body>
		<div id="all">
			<?php require("require/header.php"); ?>
			<div id="content">
			<?php require("require/content.php"); ?>
			</div>
			<?php require("require/footer.php"); ?>
		</div>
	<script src="http://imasters.uol.com.br/crossbrowser/fonte.js" type="text/javascript"></script>
	</body>
</html>